- 
		Home
	
 
	- 
Fakturo
 
- 
1.0.3
 
- 
Code
 
- 
Classes
 
-  CPdf 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											732 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											4,757 | 
										
																			
											| Lines of code | 
											2,855 | 
										
																			
											| Logical lines of code | 
											1,911 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											981 | 
										
																			
											| Methods | 
											99 | 
										
																			
											| Properties | 
											56 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 99
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| openFont() | 
									D  | 
																	19  | 
													67 | 
													181 | 
							
					
				| selectFont() | 
									D  | 
																	16  | 
													61 | 
													242 | 
							
					
				| addPngFromBuf() | 
									D  | 
																	23  | 
													41 | 
													181 | 
							
					
				| o_pages() | 
									D  | 
																	30 | 
													38 | 
													108 | 
							
					
				| o_font() | 
									C  | 
																	29 | 
													27 | 
													131 | 
							
					
				| o_image() | 
									C  | 
																	31 | 
													23 | 
													108 | 
							
					
				| o_fontDescriptor() | 
									B  | 
																	42 | 
													24 | 
													46 | 
							
					
				| getTextWidth() | 
									B  | 
																	40 | 
													18 | 
													59 | 
							
					
				| o_page() | 
									B  | 
																	38 | 
													17 | 
													68 | 
							
					
				| o_fontDescendentCID() | 
									B  | 
																	38 | 
													17 | 
													63 | 
							
					
				| o_info() | 
									B  | 
																	43 | 
													17 | 
													47 | 
							
					
				| addText() | 
									B  | 
																	36 | 
													15 | 
													77 | 
							
					
				| o_catalog() | 
									B  | 
																	43 | 
													16 | 
													49 | 
							
					
				| addImagePngAlpha() | 
									A  | 
																	33 | 
													11 | 
													101 | 
							
					
				| o_contents() | 
									A  | 
																	44 | 
													14 | 
													43 | 
							
					
				| ellipse() | 
									A  | 
																	39 | 
													12 | 
													69 | 
							
					
				| o_viewerPreferences() | 
									A  | 
																	48 | 
													14 | 
													32 | 
							
					
				| addObject() | 
									A  | 
																	47 | 
													13 | 
													36 | 
							
					
				| transaction() | 
									A  | 
																	47 | 
													12 | 
													38 | 
							
					
				| o_destination() | 
									A  | 
																	48 | 
													12 | 
													30 | 
							
					
				| o_fontGIDtoCIDMap() | 
									A  | 
																	48 | 
													11 | 
													31 | 
							
					
				| o_action() | 
									A  | 
																	46 | 
													10 | 
													38 | 
							
					
				| o_encryption() | 
									A  | 
																	39 | 
													8 | 
													61 | 
							
					
				| o_annotation() | 
									A  | 
																	44 | 
													9 | 
													44 | 
							
					
				| addPngFromFile() | 
									A  | 
																	45 | 
													9 | 
													40 | 
							
					
				| newPage() | 
									A  | 
																	49 | 
													9 | 
													30 | 
							
					
				| o_procset() | 
									A  | 
																	50 | 
													9 | 
													28 | 
							
					
				| output() | 
									A  | 
																	45 | 
													8 | 
													41 | 
							
					
				| addJpegFromFile() | 
									A  | 
																	49 | 
													8 | 
													31 | 
							
					
				| o_fontEncoding() | 
									A  | 
																	49 | 
													8 | 
													30 | 
							
					
				| stream() | 
									A  | 
																	48 | 
													8 | 
													30 | 
							
					
				| o_extGState() | 
									A  | 
																	43 | 
													6 | 
													50 | 
							
					
				| setLineTransparency() | 
									A  | 
																	48 | 
													7 | 
													35 | 
							
					
				| setFillTransparency() | 
									A  | 
																	48 | 
													7 | 
													35 | 
							
					
				| o_outlines() | 
									S  | 
																	51 | 
													7 | 
													25 | 
							
					
				| setEncryption() | 
									S  | 
																	54 | 
													7 | 
													20 | 
							
					
				| setColor() | 
									S  | 
																	59 | 
													6 | 
													13 | 
							
					
				| setStrokeColor() | 
									S  | 
																	59 | 
													6 | 
													13 | 
							
					
				| o_javascript() | 
									S  | 
																	52 | 
													5 | 
													23 | 
							
					
				| addImagePng() | 
									S  | 
																	52 | 
													5 | 
													23 | 
							
					
				| o_embedjs() | 
									S  | 
																	53 | 
													5 | 
													22 | 
							
					
				| ARC4_init() | 
									S  | 
																	54 | 
													5 | 
													21 | 
							
					
				| setLineStyle() | 
									S  | 
																	54 | 
													5 | 
													19 | 
							
					
				| setFontFamily() | 
									S  | 
																	51 | 
													4 | 
													31 | 
							
					
				| getFontHeight() | 
									S  | 
																	58 | 
													5 | 
													15 | 
							
					
				| filterText() | 
									S  | 
																	58 | 
													5 | 
													14 | 
							
					
				| addJpegImage_common() | 
									S  | 
																	49 | 
													3 | 
													32 | 
							
					
				| registerText() | 
									S  | 
																	62 | 
													4 | 
													11 | 
							
					
				| getFontXHeight() | 
									S  | 
																	61 | 
													3 | 
													12 | 
							
					
				| __construct() | 
									S  | 
																	62 | 
													3 | 
													11 | 
							
					
				| ARC4() | 
									S  | 
																	57 | 
													2 | 
													17 | 
							
					
				| saveState() | 
									S  | 
																	58 | 
													2 | 
													16 | 
							
					
				| addInfo() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| setPreferences() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| restoreState() | 
									S  | 
																	60 | 
													2 | 
													13 | 
							
					
				| encryptInit() | 
									S  | 
																	60 | 
													2 | 
													12 | 
							
					
				| newDocument() | 
									S  | 
																	57 | 
													1 | 
													19 | 
							
					
				| md5_16() | 
									S  | 
																	65 | 
													2 | 
													8 | 
							
					
				| setFillRule() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| fill() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| fillStroke() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| getFontDescender() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| concatMatches() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| reopenObject() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| closeObject() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| stopObject() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| serializeObject() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| getBytes() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| rotate() | 
									S  | 
																	61 | 
													1 | 
													12 | 
							
					
				| skew() | 
									S  | 
																	63 | 
													1 | 
													11 | 
							
					
				| addLink() | 
									S  | 
																	71 | 
													1 | 
													5 | 
							
					
				| addInternalLink() | 
									S  | 
																	71 | 
													1 | 
													5 | 
							
					
				| checkAllHere() | 
									S  | 
																	100 | 
													1 | 
													2 | 
							
					
				| setCurrentFont() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| getFirstPageId() | 
									S  | 
																	83 | 
													1 | 
													3 | 
							
					
				| addContent() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| setGraphicsState() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| lineTo() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| moveTo() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| curveTo() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| quadTo() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| closePath() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| endPath() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| rect() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| stroke() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| save() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| restore() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| scale() | 
									S  | 
																	65 | 
													1 | 
													9 | 
							
					
				| translate() | 
									S  | 
																	68 | 
													1 | 
													8 | 
							
					
				| transform() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| getTextPosition() | 
									S  | 
																	64 | 
													1 | 
													8 | 
							
					
				| toUpper() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| openObject() | 
									S  | 
																	65 | 
													1 | 
													9 | 
							
					
				| restoreSerializedObject() | 
									S  | 
																	71 | 
													1 | 
													6 | 
							
					
				| image_iscached() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| openHere() | 
									S  | 
																	63 | 
													1 | 
													10 | 
							
					
				| addJavascript() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| addDestination() | 
									S  | 
																	63 | 
													1 | 
													10 | 
							
					
				| addMessage() | 
									S  | 
																	80 | 
													1 | 
													3 |